<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"   
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:c="http://java.sun.com/jsp/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core"
      >
      <ui:repeat var="spect" value="#{mbRecherche.lesSpectacles}" >
<h:form>
<div class="apercu">
<div class="image"><img src="images/#{spect.idSpectacle}.jpg"/></div>
<div class="content">
<p class="titre">#{spect.spectacleDonnees.nom}</p><p class="description">#{spect.spectacleDonnees.description}</p>
</div>
<div class="prix"><span class="title">Prix  </span><span><h:outputText value="#{spect.prixTTC}">
					<f:convertNumber maxFractionDigits="2"/>
				</h:outputText> &euro;</span></div>
<div class="links">
<h:commandLink actionListener="#{mbSpectacle.start}" value="voir la fiche">
<f:attribute name="idSpectacle" value="#{spect.idSpectacle}"/>
</h:commandLink>
</div>
</div>
</h:form>
</ui:repeat>
		</html>